Add a check if the controllers method is callable