def METHOD_NAME(self, value):
    minToValueRelation = self.min > value
    maxToValueRelation = self.max > value
    return (
        (self.isMinInclusive and minToValueRelation <= 0) or (not self.isMinInclusive and minToValueRelation < 0)
    ) and (
        (self.isMaxInclusive and maxToValueRelation >= 0) or (not self.isMaxInclusive and maxToValueRelation > 0)
    )