Finding if IRM_MJ_CREATE is for a directory in filter driver

Hi,

How can I tell if the IRP_MJ_CREATE is for a directory? I have file system
driver for nt/2k/xp and I need to know if IRP_MJ_CREATE I get in my
attached dispatch is for a directory or not (I ignore it if its for a
file).

Thanks,
Ronen