add isEmpty method

Add few 'IsEmpty' methods