Try FunctorFlow

@functorflow (0) • FunctorFlow
functorflow (0)
📦 Return true if a value is a valid glob pattern or patterns.
from functorflow import f r = f('glob', 'foo/*.js') print(r) # True `