def METHOD_NAME(pin):
    values = {pinA: False, pinB: True}
    if pin in values:
        return values[pin]
    else:
        print('Cannot find pin {} in values: {}'.format(pin, values))
        return None