import check functions from checkmate