(formula, solver_name=None, logic=None, portfolio=None)
return env.factory.is_sat(formula,
                              solver_name=solver_name,
                              logic=logic,
                              portfolio=portfolio)
Returns whether a formula is satisfiable.

    :param formula: The formula to check satisfiability
    :type  formula: FNode
    :param solver_name: Specify the name of the solver to be used
    :type  solver_name: string
    :param logic: Specify the logic that is going to be used
    :param portfolio: A list of solver names to perform portfolio solving.
    :type  portfolio: An iterable of solver names
    :returns: Whether the formula is SAT or UNSAT.
    :rtype: bool
Returns whether a formula is satisfiable.
Returns whether a formula is satisfiable .
def is_sat(formula, solver_name=None, logic=None, portfolio=None):
    """ Returns whether a formula is satisfiable.

    :param formula: The formula to check satisfiability
    :type  formula: FNode
    :param solver_name: Specify the name of the solver to be used
    :type  solver_name: string
    :param logic: Specify the logic that is going to be used
    :param portfolio: A list of solver names to perform portfolio solving.
    :type  portfolio: An iterable of solver names
    :returns: Whether the formula is SAT or UNSAT.
    :rtype: bool
    """
    env = get_env()
    if formula not in env.formula_manager:
        warnings.warn("Warning: Contextualizing formula during is_sat")
        formula = env.formula_manager.normalize(formula)

    return env.factory.is_sat(formula,
                              solver_name=solver_name,
                              logic=logic,
                              portfolio=portfolio)
def is_sat ( formula , solver_name = None , logic = None , portfolio = None ) : env = get_env ( ) if formula not in env . formula_manager : warnings . warn ( "Warning: Contextualizing formula during is_sat" ) formula = env . formula_manager . normalize ( formula ) return env . factory . is_sat ( formula , solver_name = solver_name , logic = logic , portfolio = portfolio )