I never thought of doing the check like this (I'd rather try to get the call args after the fact) but I like it !