#316: Add isValidContainer() API