dimod.AdjDictBQM.has_variable

AdjDictBQM.has_variable(v)[source]

Return True if v is a variable in the binary quadratic model.