def has_parameter(self, param, params):
    return params.get(param) != None
Checks whether the parameter is present in the params dict.
dataset/ETHPy150Open AppScale/appscale-tools/lib/agents/base_agent.py/BaseAgent.has_parameter