@staticmethod
def __get_attr(what, type_attr, value_attr, **kwargs):
    """
        get the value of a parm
        :param what: string parm
        :param type_attr: type of parm
        :param value_attr:
        :param kwargs:
        :return: value of the parm
        """
    value = int(kwargs[what]) if type_attr == 'int' else kwargs[what]
    if what in kwargs and value in value_attr:
        return value
