Model/FailedAuth.php
public function isLocked()
    {
        if ($this->getFailuresNum() == \Dotdigitalgroup\Email\Model\FailedAuth::NUMBER_MAX_FAILS_LIMIT &&
            strtotime($this->getLastAttemptDate() . '+5 min') > time()) {
            return true;
        }

        return false;
    }
public function isLocked()
    {
        if ($this->getFailuresNum() == \Dotdigitalgroup\Email\Model\FailedAuth::NUMBER_MAX_FAILS_LIMIT &&
            strtotime($this->getLastAttemptDate() . '+5 min') > time()) {
            return true;
        }

        return false;
    }
public function isLocked ( ) { if ( $ this -> getFailuresNum ( ) == \ Dotdigitalgroup \ Email \ Model \ FailedAuth :: NUMBER_MAX_FAILS_LIMIT && strtotime ( $ this -> getLastAttemptDate ( ) . '+5 min' ) > time ( ) ) { return true ; } return false ; }
Check if the store is in the locked state.
Check if the store is in the locked state .