public function inState($stateValue)
	{
		if (is_array($stateValue)) {
			//validate states
			foreach ($stateValue as $sv) {
				$this->modelInstance->stateExists($sv, true);
			}
			//apply to query
			$this->owner->andWhere(['IN', $this->stateAttribute, $stateValue]);
		} else {
			//validate state
			$this->modelInstance->stateExists($stateValue, true);
			//apply to query
			$this->owner->andWhere([$this->stateAttribute=>$stateValue]);
		}

		return $this->owner;
	}