Modifed isDoubleBlack()