Check for function