The Najdorf Variation of the Sicilian Defence is an opening often played at the highest level of chess. It is named after GM Miguel Najdorf and is known for being extremely sharp and theory heavy.
Your task is to write a program that, given a Boolean-like input, prints a chessboard representation of the opening from either White or Black perspective.
Your program can take any input that has two possible values. Boolean, Integer, etc.
Your program must output a square chessboard using your language's standard output (usually the console). Each piece must have a corresponding character (your choice). Black and white pieces must be different. Black and white squares are allowed to be the same, but you are allowed to have different characters for them if you wish.
Using standard notation and uppercase for white and lowercase for black, here are the two chessboards, though you are free to represent the pieces differently:
True False R B K Q B R r n b q k b r P P P P P P p p p p p N p p n P N N P n p p N p p p p p P P P P P P r b k q b n r R B Q K B R
This is code-golf, so shortest program in bytes wins!