validate function arity