Gets a method list for a controller and determines if the action is defined