check for callable object in root attribute, not just Proc