A complete binary tree is defined as a binary tree in which every level, except possibly the deepest, is completely filled. At deepest level, all nodes must be as far left a
The simplest procedure is:
If condition satisfy tree, is complete binary tree, else not.
That's a simple algorithm and turning it into a working code shouldn't be a problem if you are good enough coder.