'Is a valid pocsuite poc'

def is_a_poc(self, filename):

    if (not filename):
        return False
    fname_lower = filename.lower()
    if (fname_lower in '__init__.py'):
        return False
    if (fname_lower.endswith('.py') or fname_lower.endswith('.json')):
        return True
    else:
        return False
