public function hasMarkedPlace($subject, $placeName, $name = null)
    {
        return $this->workflowRegistry->get($subject, $name)->getMarking($subject)->has($placeName);
    }
public function hasMarkedPlace($subject, $placeName, $name = null)
    {
        return $this->workflowRegistry->get($subject, $name)->getMarking($subject)->has($placeName);
    }
public function hasMarkedPlace ( $ subject , $ placeName , $ name = null ) { return $ this -> workflowRegistry -> get ( $ subject , $ name ) -> getMarking ( $ subject ) -> has ( $ placeName ) ; }
Returns true if the place is marked.

@param object $subject   A subject
@param string $placeName A place name
@param string $name      A workflow name

@return bool true if the transition is enabled
Returns true if the place is marked .