code: public function isBound($class)
  	{
  		if (isset($this->aliases[$class])) {
  			$class = $this->aliases[$class];
  		}
  
  		return isset($this->instances[$class])
  			|| isset($this->factories[$class])
  			|| isset($this->shared[$class]);
  	}
docs: {@inheritdoc}