@classmethod
    def validate_rpc_port(cls, port):
        if not port:
            raise ApplicationException(desc='Invalid rpc port number.')
        if isinstance(port, str):
            port = int(port)

        return port
Starts by defecting if grumpy
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/application.py/RyuBGPSpeaker.validate_rpc_port--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_grumpy.py/TestGrumpy.test_initial_grumpy_strategy