A credit facility is a lengthy and detailed agreement that certainly includes checking for other debt and checking for liens on the collateral. Liens are usually documented by a UCC filing which is public information.
>"increased regulations and capital requirements made it more challenging for traditional banks to issue certain types of loans."
Basel III requirements post-GFC made it expensive for banks to hold riskier loans so private credit was born.