def handle_pip_version_check(self, options):
        # type: (Values) -> None
        """
        This is a no-op so that commands by default do not do the pip version
        check.
        """
        # Make sure we do the pip version check if the index_group options
        # are present.
        assert not hasattr(options, 'no_index')

        This is a no-op so that commands by default do not do the pip version
        check.
        
product/gradle-plugin/src/main/python/pip/_internal/cli/base_command.py