def require_methods(methods, obj):
    for method in dir(obj):
        if methods not in method:
            return False
    return True
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/actions/utils.py/require_methods/swapped operands of `not in`