def GeojsonCheck(filename):
    """
    Checks if filename is of type geojson

    :param str filename: filename to check

    :returns: bool - True if filename ends with geojson; otherwise False
    """
    if filename.endswith('.geojson'):
        return True
    else:
        return False