Let\'s say there is a code in place 2
var place2IsReady = true;
In place 1 I need to implement the logic below