Conditional branch by FaceSet?

Hi, I have a question, I know that in RPG Maker VX Ace.
that in the "Conditional branch" you can via script to identify the Party Leader with:

Code:
$game_party.leader == $game_actors[001]

but I would like to identify the Face set of an actor in specifics.
for example:

Code:
$game_actor[001].face?(FaceFileName, Index)

so that the condition proves that x actor has a face set with a specific index.
Could this be possible?
Code:
$game_actors[1].face_name == "name_of_file" && $game_actors[1].face_index == index_to_look_for
Code:
$game_actors[X].face_name == "Y"  && $game_actors[X].face_index == Z
Code:
$game_actors[1].face_name == "name_of_file" && $game_actors[1].face_index == index_to_look_for
Code:
$game_actors[X].face_name == "Y"  && $game_actors[X].face_index == Z

Thank you so much! the scripts worked perfectly! 🙂
I really thank both of you.
@Christopher Riel If that has solved your query to your satisfaction, please Report your post and ask for the thread to be closed.
Thanks.
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-by-faceset.107829/