public function getStatus($id)
    {
        if ($this->isSuccess()) {
            foreach ($this->getResult() as $row) {
                if ($row['id'] == $id) {
                    return $row['status'];
                }
            }
        }

        return false;
    }
public function getStatus($id)
    {
        if ($this->isSuccess()) {
            foreach ($this->getResult() as $row) {
                if ($row['id'] == $id) {
                    return $row['status'];
                }
            }
        }

        return false;
    }
public function getStatus ( $ id ) { if ( $ this -> isSuccess ( ) ) { foreach ( $ this -> getResult ( ) as $ row ) { if ( $ row [ 'id' ] == $ id ) { return $ row [ 'status' ] ; } } } return false ; }
Get the status of a lead.

@param $id
@return bool
Get the status of a lead .