Call to undefined function is_blog_installed(), after creating functions.php


I’d like to place some custom code in functions.php which I’m unable to do so. Why am I getting

call to undefined function is_blog_installed()

after the creation of (even an empty) functions.php? I’m using WP 5.4.2.