isValid method refactored to isValid and isNotBlocked