Adding to that, checkmate is made up of the following parts:
1. The king must be in check.
2. The king has no legal move.
3. The attacking piece(s) cannot be blocked or taken.
4. Time limit has not expired.
( 5. There is no stalemate (fairly obvious). )
Hmm, look at the attacking piece and it's line of attack to the king. Can any of your pieces move to somewhere on that line. If there is no such piece then it is checkmate according to that particular rule. Of course you have to check all the other conditions.
This condition doesn't apply to knights - they can't be blocked.