Core: removed duplicate check_acls definition