how to classify an object whether it is matter or not?