public function isLast(ConnectionInterface $con = null)
    {
        return $this->getPosition() == ChildCustomerGroupQuery::create()->getMaxRankArray($con);
    }
public function isLast(ConnectionInterface $con = null)
    {
        return $this->getPosition() == ChildCustomerGroupQuery::create()->getMaxRankArray($con);
    }
public function isLast ( ConnectionInterface $ con = null ) { return $ this -> getPosition ( ) == ChildCustomerGroupQuery :: create ( ) -> getMaxRankArray ( $ con ) ; }
Check if the object is last in the list, i.e. if its rank is the highest rank

@param     ConnectionInterface  $con      optional connection

@return    boolean
Check if the object is last in the list i . e . if its rank is the highest rank