check if handler method exists when it is specified