The Brooklyn rapper appeared in court alongside attorney Alex Spiro after allegedly getting caught with a shank while in prison.