Check for function inputs