How would I declare a sub to only allow container object to be passed to it? Is this possible?