Check if patterns contains glob wildcard

is_glob(pattern)

Arguments

pattern

a glob pattern to be tested