def _mipcheck_inlisthelper(_name, _hash, entities, hashes):
    """ massimport helper """
    if not entities and not hashes:
        return True
    if entities and _name in entities:
        return True
    if hashes and _hash in hashes:
        return True
    return False
