def contains_fragment(path):
    return path.count('#') != 0
Inspects the definition and returns a copy of it that is updated
dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_auth/url_utils.py/contains_fragment--crossover with--dataset/ETHPy150Open cloudtools/troposphere/troposphere/template_generator.py/TemplateGenerator._normalize_properties