Including the method definition in a conditional