Returning feature dataset name for a feature class

Discussion created by wesley.king on Mar 30, 2014
Latest reply on Mar 30, 2014 by Wayne_Whitley
Python noob here wondering if there's a direct way to return the name of a feature dataset for a feature class.

I know I can return the data source and extract the dataset name, but I figure there's got to be a way to directly return only the dataset name.

Along the same line, is there a way to check if a feature class belongs to a feature dataset?

Thanks in advance for any help.