Check if the function exists with annotations.