Community Tip - You can change your system assigned username to something more personal in your community settings. X
if(MediaEntities["NameOfMediaEntity"]){
result =true;
}else{
result =false;
}
if(MediaEntities["NameOfMediaEntity"]){
result =true;
}else{
result =false;
}