checking for container def