Checks if the method specified in onClick XML attribute is declared in related activity