dimod.AdjMapBQM.has_variable

AdjMapBQM.has_variable(v)[source]

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