Added null check Strings.isAllOrWildcard