@utilities.arguments_not_none<EOL><INDENT>def supports_calendar_type(self, calendar_type):<DEDENT>
<EOL>if self._kwargs['<STR_LIT>'] not in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>raise errors.IllegalState()<EOL><DEDENT>return calendar_type in self.get_calendar_types<EOL>
Tests if the given calendar type is supported.

        arg:    calendar_type (osid.type.Type): a calendar Type
        return: (boolean) - ``true`` if the type is supported, ``false``
                otherwise
        raise:  IllegalState - syntax is not a ``DATETIME`` or
                ``DURATION``
        raise:  NullArgument - ``calendar_type`` is ``null``
        *compliance: mandatory -- This method must be implemented.*