How to check status interface "awdl0" on MacOS

HI @atlauren ,
If I want the output of the analysis to be “TRUE”, how do I edit it? I have already edited it with the following relevance but the result I get is an error: "if ((up of it) of (adapters of network) whose (name of it contains “awdl”)) then “Enable” else “Disable”.