Basic function to determine whether user is calling a native Ruby function or a user defined one.