def is_malicious(app, id, changeset_revision, **kwd):
 repository_metadata = get_repository_metadata_by_changeset_revision(app, id, changeset_revision)
 if repository_metadata:
  return repository_metadata.malicious
 return False

def is_malicious ( app , id , changeset_revision , ** kwd ) : repository_metadata = get_repository_metadata_by_changeset_revision ( app , id , changeset_revision ) if repository_metadata : return repository_metadata . malicious return False
check the malicious flag in repository metadata for a specified change set revision .