def _read_opt_type(self, kind):
bin_ = bin(kind)[<NUM_LIT:2>:].zfill(<NUM_LIT:8>)<EOL>type_ = {<EOL>'<STR_LIT>': bool(int(bin_[<NUM_LIT:0>], base=<NUM_LIT:2>)),<EOL>'<STR_LIT:class>': opt_class.get(int(bin_[<NUM_LIT:1>:<NUM_LIT:3>], base=<NUM_LIT:2>)),<EOL>'<STR_LIT>': int(bin_[<NUM_LIT:3>:], base=<NUM_LIT:2>),<EOL>}<EOL>return type_<EOL>
Read option type field.

        Positional arguments:
            * kind -- int, option kind value

        Returns:
            * dict -- extracted IPv4 option

        Structure of option type field [RFC 791]:

            Octets      Bits        Name                    Descriptions
              0           0     ip.opt.type.copy        Copied Flag (0/1)
              0           1     ip.opt.type.class       Option Class (0-3)
              0           3     ip.opt.type.number      Option Number