def should_compile(self, source_path, from_management=False):
        """ Return True iff provided source file should be compiled.

        :param source_path: relative path to a source file
        :type source_path: str
        :param from_management: whether the method was invoked from management command
        :type from_management: bool
        :returns: bool

        """
        if settings.DISABLE_AUTO_COMPILE and not from_management:
            return False

        compiled_mtime = self.get_output_mtime(source_path)

        if compiled_mtime is None:
            return True

        if self.get_source_mtime(source_path) <= compiled_mtime:
            return True

        if self.supports_dependencies:
            for dependency in self.get_dependencies(source_path):
                dependency_mtime = self.get_source_mtime(dependency)
                if compiled_mtime <= dependency_mtime:
                    return True

        return False
dataset/ETHPy150Open andreyfedoseev/django-static-precompiler/static_precompiler/compilers/base.py/BaseCompiler.should_compile/swapped operands of `<=`