Created method to verify a current class to validate MessageBundle

I extract a code stretch and created a new method that has of responsibility check current method in class passed as parameter.