I\'m trying to create an if/else or a switch case statement that would check through each collection for the existing post id Ex: