code: def is_keyword_version_supported(
          keyword_version, inasafe_version=inasafe_keyword_version):
      
      def minor_version(version):
          """Obtain minor version of a version (x.y)
          :param version: Version string.
          :type version: str
  
          :returns: Minor version.
          :rtype: str
          """
          version_split = version.split('.')
          return version_split[0] + '.' + version_split[1]
  
      # Convert to minor version.
      keyword_version = minor_version(keyword_version)
      inasafe_version = minor_version(inasafe_version)
  
      if inasafe_version == keyword_version:
          return True
  
      if inasafe_version in list(keyword_version_compatibilities.keys()):
          if keyword_version in keyword_version_compatibilities[inasafe_version]:
              return True
          else:
              return False
      else:
          return False
docs: Check if the keyword version is supported by this InaSAFE version.
  
      .. versionadded: 3.3
  
      :param keyword_version: String representation of the keyword version.
      :type keyword_version: str
  
      :param inasafe_version: String representation of InaSAFE's version.
      :type inasafe_version: str
  
      :returns: True if supported, otherwise False.
      :rtype: bool