@staticmethod
def is_file(s3elem):
    """
        Return true is an s3 json element represents a valid file
        """
    try:
        key = s3elem['Key']
    except KeyError:
        return False
    name = key.rpartition('/')[-1]
    if not name:
        return False
    return True
