Return true if the current object is an instance of passed type.

        # Arguments
            kls: The class.

        # Returns:
            bool:
              * Return true if the current object is an instance of passed type.
              * False else.

def instance_of(self, kls: Any) -> bool:
        """ Return true if the current object is an instance of passed type.

        # Arguments
            kls: The class.

        # Returns:
            bool:
              * Return true if the current object is an instance of passed type.
              * False else.
        """
        if not kls:
            raise ValueError
        return isinstance(self, kls)