func IsConditionAnchor(str string) bool {
	if len(str) < 2 {
		return false
	}
	return (str[0] == '(' && str[len(str)-1] == ')')
}
IsConditionAnchor checks for condition anchor
package common
import (
	"path"
	"strings"
)
type IsAnchor func(str string) bool