@staticmethod
def pop_lib(vec, lib):
    """
        Move library load or import to a separate list variable
        """
    res = []
    for item in vec:
        if lib.search(item):
            res.append(item.split(';')[0].strip())
    return res, vec
