dimod.bqm.adjarraybqm.AdjArrayBQM.has_variable

AdjArrayBQM.has_variable(v)[source]

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