<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _find_lib(data):
 """Find mirge libs"""

    options = " ".join(data.get('resources', {}).get('mirge', {}).get("options", ""))
    if options.find("-lib") > -1 and utils.file_exists(options.split()[1]):
        return options
    if not options:
        logger.warning("miRge libraries not found. Follow these instructions to install them:")
        logger.warning("https://github.com/mhalushka/miRge#download-libraries")
        logger.warning("Then, pass -lib LIB_PATH with resourcces:mirge:options:[...]")
        logger.warning("More information: https://bcbio-nextgen.readthedocs.io/en/latest/contents/pipelines.html#smallrna-seq")