def _one_exists ( input_files ) : for f in input_files : if os . path . exists ( f ) : return True return False
have not empty check python
at least one file must exist for multiqc to run properly
def _one_exists(input_files):
    """
    at least one file must exist for multiqc to run properly
    """
    for f in input_files:
        if os.path.exists(f):
            return True
    return False