isEmpty method added to check and validate null , blanck and undefined values.