Send and receive packets at layer 2 and return only the first answer

def srp1(*args, **kargs):
    """Send and receive packets at layer 2 and return only the first answer"""
    ans, _ = srp(*args, **kargs)
    if len(ans) > 0:
        return ans[0][1]
    else:
        return None