# Internal Utility Function To Report Back Boolean in Blueprints

**URL:** <https://forums.unrealengine.com/t/internal-utility-function-to-report-back-boolean-in-blueprints/312182>\
**Category:** Blueprint\
**Tags:** bool, unreal-engine, static, Scripting, question\
**Created:** [March 22, 2015, 10:04pm UTC](https://forums.unrealengine.com/t/internal-utility-function-to-report-back-boolean-in-blueprints/312182 "2015-03-22T22:04:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RatherBkBoardin\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RatherBkBoardin\_1](https://forums.unrealengine.com/u/RatherBkBoardin_1)\
**Post date:** [March 22, 2015, 10:04pm UTC](https://forums.unrealengine.com/t/internal-utility-function-to-report-back-boolean-in-blueprints/312182/1 "2015-03-22T22:04:41Z")

</div>

I am trying to use an internal utility function (FPaths::FileExists) to check whether a file is present in a directory.Then report a boolean back to my Level Blueprint.

I believe I need to run the syntax below, but I am not sure where to input this. Up until now my entire project has been in Blueprints, but I believe this will require a bit of C++. I was hoping it was going to be as simple as the “Execute Console Command” node, but for C++ code. However, I am thinking it will not be that simple. Any direction on where I can go from here would be greatly appreciated.

static bool FileExists  
(const FString & InPath)
