def is_fragment(href):
    """Return True if href is a fragment else False"""
    is_fragment = False

    try:
        if href[0] == '#':
            is_fragment = True
    except IndexError:
        is_fragment = False

    return is_fragment