Yesterday a ran into this with an example and the exception was that frozen doesn't have a fit method.
That would be a safer way to check. 
another possibility is to let the user explicitly encode it,  for example `distargs=???` `distargs='no'`